﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sisocana.Core.Interfaces;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Sisocana.Core.Models
{
    public class DonacionServiciosModel:DonacionModel, IDonacionServiciosModel
    {
        [DisplayName("Service type")]
        [Required(ErrorMessage = "Service type required")]
        [StringLength(100, MinimumLength = 3, ErrorMessage = "The minimum length is 3 and the maximum length is 100")]
        public string nombreDelServicio { get; set; }

        [DisplayName("Donation modality")]
        [Required(ErrorMessage = "Donation modality is required")]
        [StringLength(100, MinimumLength = 3, ErrorMessage = "The minimum length is 3 and the maximum length is 100")]
        public string formaDonacion { get; set; }

        [DisplayName("Description")]
        [Required(ErrorMessage = "Description is required")]
        [StringLength(100, MinimumLength = 3, ErrorMessage = "The minimum length is 3 and the maximum length is 100")]
        public string descripcionDonacion { get; set; }
    }
}
